﻿<%@ Page Title="AddSeries" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="AddSeries.aspx.cs" Inherits="AddSeries"%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="act1" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Sorozat felvétele
    </h2>
    <asp:UpdatePanel ID="AddSeriesUpdatePanel" runat="server" UpdateMode="Always">
    <Triggers>
        <asp:PostBackTrigger ControlID="SeriesCreate" />
    </Triggers>
    <ContentTemplate>
        <fieldset id="AddSeriesPanel" runat="server">
        <table class="formTable" dir="ltr">
            <tr>
                <td class="right">
                    <asp:Label  ID="Label1" runat="server" Text="Magyar cím:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesTitleHun" runat="server" Width="300px" AutoPostBack="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label2" runat="server" Text="Eredeti cím:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesTitleOrig" runat="server" Width="300px" 
                        AutoPostBack="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label7" runat="server" Text="Típus:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:ListBox ID="AddSeriesGenres" runat="server" Width="300px" Height="70px" 
                        AutoPostBack="false" SelectionMode="Multiple" />
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label8" runat="server" Text="Rendezők:"
                        ForeColor="Black" EnableViewState="False" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesDirectorName" runat="server" Width="300px" 
                        AutoPostBack="false" Height="40px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label9" runat="server" Text="Írók:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesWriterName" runat="server" Width="300px" 
                        AutoPostBack="false" Height="40px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label10" runat="server" Text="Főszereplők:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesStarName" runat="server" Width="300px" 
                        AutoPostBack="false" TextMode="MultiLine" Height="80px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label3" runat="server" Text="Megjelenés dátuma:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesReleaseDate" runat="server" Width="300px" AutoPostBack="false"></asp:TextBox>
                    <act1:CalendarExtender ID="AddSeriesReleaseDateExtender" TargetControlID="AddSeriesReleaseDate" Format="yyyy-MM-dd" runat="server"></act1:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label5" runat="server" Text="Nyitó kép:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:FileUpLoad id="AddSeriesImg" runat="server" autopostback="false"/>
                    <br />
                    <asp:Label runat="server" id="StatusLabel" text="" ForeColor="Red"  />
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label6" runat="server" Text="Beágyazott video címe:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesEmbedVideo" runat="server" Width="300px" AutoPostBack="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                    <asp:Label  ID="Label4" runat="server" Text="Rövidebb tartalmi leírás:"
                        ForeColor="Black" EnableViewState="false" />
                </td>
                <td class="left">
                    <asp:TextBox ID="AddSeriesDescription" runat="server" Width="400px" 
                        Height="120px" TextMode="MultiLine" AutoPostBack="false"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="right">
                </td>
                <td class="right">
                    <asp:Button ID="SeriesCreate" runat="server" Text="Létrehozás" 
                        onclick="SeriesCreate_Click" />
                    <asp:Button ID="SeriesCancel" runat="server" Text="Mégse" 
                        onclick="SeriesCancel_Click" />
                </td>
            </tr>
        </table>
        </fieldset>
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>